<!--
 * @Author: your name
 * @Date: 2020-12-11 14:43:02
 * @LastEditTime: 2020-12-14 14:50:33
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue-element-admind:\lsh_web\uniapp-ts-uview\src\pages\index\components\swiper.vue
-->
<template>
  <view class="warp">
    <u-swiper :list="list" height="300rpx" :mode="list.length>1?'round':'none'" mode="aspectFill" lazy-load></u-swiper>
  </view>
</template>

<script lang="ts">
import { Vue, Component, Prop } from "vue-property-decorator";
@Component({ name: "swiper" })
export default class extends Vue {
   @Prop() private list!:Array<any>

}
</script>
<style lang="scss" scoped>
   
</style>